package org.note.law.module.word.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "名词创建/更新参数")
public class LawWordParams {
    @ApiModelProperty(value = "名词")
    String word;

    @NotNull(message = "名词文件不可为空")
    @ApiModelProperty(value = "名词文件")
    MultipartFile file;

}
